package com.example.demo.Entity;

import java.util.Date;

public class PurchaseDetail {
    private Long id;

    private Date createTime;

    private Date updateTime;

    private Long purchaseId;

    private Long productId;

    private Long purchasequantity;

    private String purchaseDetailInfo;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getPurchaseId() {
        return purchaseId;
    }

    public void setPurchaseId(Long purchaseId) {
        this.purchaseId = purchaseId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getPurchasequantity() {
        return purchasequantity;
    }

    public void setPurchasequantity(Long purchasequantity) {
        this.purchasequantity = purchasequantity;
    }

    public String getPurchaseDetailInfo() {
        return purchaseDetailInfo;
    }

    public void setPurchaseDetailInfo(String purchaseDetailInfo) {
        this.purchaseDetailInfo = purchaseDetailInfo == null ? null : purchaseDetailInfo.trim();
    }
}